﻿
<%@ page language="C#" masterpagefile="~/Member/MemMaster.master" autoeventwireup="true"
CodeBehind="ChangePwd.aspx.cs"  inherits="PayRoller.Member.ChangePwd" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script language=javascript>
function Check1() {
var vtxtOldPwd=document.getElementById("ctl00_ContentPlaceHolder1_txtOldPwd");
var vtxtNewPwd=document.getElementById("ctl00_ContentPlaceHolder1_txtNewPwd");
var vtxtComfirmPwd=document.getElementById("ctl00_ContentPlaceHolder1_txtComfirmPwd");
					
if( vtxtOldPwd.value.length == 0 ){
alert("Field 'Old Password' is not valid!");
vtxtOldPwd.focus();
return false;
}									
if( vtxtNewPwd.value.length == 0 ){
alert("Field 'New Password' is not valid!");
vtxtNewPwd.focus();
return false;
}			
if( vtxtNewPwd.value != vtxtComfirmPwd.value ){
alert("Field 'Re-type New Password' is not valid!");
vtxtComfirmPwd.focus();
return false;
}					
		
return true;
}
</script>
<table width="90%"  border="0" cellspacing="1" cellpadding="1" align="center">
  <tr>
    <td colspan="2" height="15"></td>
  </tr>
  <tr>
    <td colspan="2" style="line-height:130%">To change your password please enter the following details then click the 'Change Password' button.
      <p>PLEASE NOTE: To ensure maximum security your password must be at least 8 characters and contain at least one number and one letter (no symbol characters are allowed).<br>
    </p></td>
  </tr>
  <tr>
    <td height="22">&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td width="30%" height="22">Old Password: </td>
    <td>
        <asp:TextBox ID="txtOldPwd" runat="server" TextMode="Password" style="width:220px;height:18px"></asp:TextBox></td>
  </tr>
  <tr>
    <td height="22">New Password: </td>
    <td>
        <asp:TextBox ID="txtNewPwd" runat="server" Style="width: 220px; height: 18px" TextMode="Password"></asp:TextBox></td>
  </tr>
  <tr>
    <td style="height: 28px">Re-type New Password:</td>
    <td style="height: 28px">
        <asp:TextBox ID="txtComfirmPwd" runat="server" Style="width: 220px; height: 18px" TextMode="Password"></asp:TextBox></td>
  </tr>
  <tr>
    <td height="10"></td>
  </tr>
  <tr>
    <td height="22" colspan="2"><div align="center">
        <asp:Button ID="Button1" runat="server" Text="Change Password" OnClick="Button1_Click" CssClass="submitBtn" />
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="MyProfile.aspx">Return</a>
		</div></td>
  </tr>
  <tr>
    <td height="30"></td>
  </tr>
</table>
</asp:Content>

